/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package JoseH;



/**
 *
 * @author 19030667-4
 */
public class Contacto {

    public static void main(String[] args) {
       Chofer p=new Chofer();
       Object [][] sc ;
        sc = p.getDatos();
        for(int i=0;i<sc.length ;i++){
            System.out.println("> " + sc[i][0] + " - " + sc[i][1]);            
        }
        
        Bus b = new Bus();       
       Object [][] bc ;
        bc = b.getDatos();
        for(int i=0;i<bc.length ;i++){
            System.out.println("> " + bc[i][0] + " - " + bc[i][1]);            
        }
        
         Colegio c=new Colegio();
       Object [][] cs ;
        cs = c.getDatos();
        for(int i=0;i<cs.length ;i++){
            System.out.println("> " + cs[i][0] + " - " + cs[i][1]);            
        }
        
        Personal l=new Personal();
       Object [][] pr ;
        pr = l.getDatos();
        for(int i=0;i<pr.length ;i++){
            System.out.println("> " + pr[i][0] + " - " + pr[i][1]);            
        }
        
        p.con.desconectar();
    }
}